package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

//收费标准
@Data
@TableName("pricing_standard")
public class PricingStandard {
    @TableId(type= IdType.AUTO)
    private Long id;
    @TableField("hourly_Rate")
    private Integer hourlyRate;//小时计费
    @TableField("daily_rate")
    private Integer dailyRate;//小时计费
    @TableField("exceeding_hours")
    private Integer exceedingHours;//超过多少小时按天计费
    @TableField("update_Time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;//更新日期

}
